Jquery plugin to backend validate a text field