A few changes on formValidator.js