Internet Explorer 11 detection. How to detect Internet Explorer 11.
var isIE11 = !!window.MSInputMethodContext && !!document.documentMode;