Fixes #33 by using Modernizr to detect support for the number input type.