tests with form submission, added global javascript file