Update form-validator.js