input[type=date] polyfill for better-dom