Create validation.js