Fixed IE11 check. IE11 no longer has MSIE in the userAgent, you need to ...

...check for Trident/7.0 instead.