forms.php- added onsubmit js for js validation of form