Javascript errors on the page where my form is embedded