updates in form_validation.js