ansman validate.js