add formSubmit.js to index.php