Added HTML5 form validation