adding jquery validation for browsers that do not accept html5 validation