added jquery and form validation