Added form validation with HTML5 and polyfill