Update validations.js

If there are validations for an attribute, they should be run regardless of whether or not `required` is true or false.