added 'validate.js'
added 'validate.js'