adding support for HTML 5 input types

* fixes #19