Polyfill script for HTML5 date/time input elements