Jquery plugin for checking fields when users submit forms