Use different IE9 detection.

Using https://gist.github.com/padolsey/527683#comment-955607 (by davidhellsing).