Loading HTML forms and JavaScript