javascript file is updated and form validation is done