Generic Form Validations using JQuery