Commiting javascript file that validates the form text box.