Simple jQuery client-side validation