Added html5 form validation