new version of form.html with JS