login.jsp and client side validation with JavaScript