A form validator class with a jQuery plugin wrapper