validations.js.coffee