Refactored so dom polyfills for other input types can be implemented