jquery plugin for validating form, uses pseudo-html5 syntax