HTML5 form polyfill