A JQuery based validation framework