Failing JavaScript tests in Firefox

Updated tests to weaken "number" input field requirement.  This is an HTML5 feature that isn't supported in FireFox, so FF changes the input type to "text".

This is basically how feature detection libraries like modernizr (http://modernizr.com/) do this: create an input element, set its type to "number" and see if it ends up being "text".  See: http://diveintohtml5.info/detect.html#input-types

Since we allow the input type to be "text" in the UI, I think it's okay to weaken the expectation in the JavaScript tests as well.

@jzoldak @cahrens What do you think about this approach?