wrapper for validate.js

Very basic wrapper for validation. I will add type definition for the constraint and options