Adding validate.js for form validation