HTML5 polyfill for form validation.