Added the javascript validation to the contact form