put title in html file and created empty javascript function to validate email