[IE8] localizednumber: exit early if other tests fail

The following detect triggers exceptions in IE8:
- https://github.com/Modernizr/Modernizr/blob/master/feature-detects/forms/inputnumber-l10n.js

This PR causes it to fail early based on other tests.