Validation form

JS script for validating the form