added javascript files, trying outvaried methods of form validation