set up javascript - email validation
added javascript link in head
updated form to link to js email validation function