jQuery-driven form validation