Added query.validate.js support