Validator custom class for validating a jQuery form