Fix IE10 vs .capable?

* Add support for IE10
* Compare using numbers, not strings (as "10" < "7")