This contains client side Javascript form validation code