minor changes to input html5 type handling (#217)