add some html5 client side validation