validations.js added