adding jquery form validation, and adjusting php validation