custom jquery to add validation to form and style the submit button