fix: properly create HTML5-specific input types on IE8 and 9

Closes #183