Help! How to use JavaScript to fix submissions on embedded form and main form