var isIE10 = (function () { var d = document.createElement("div"); d.innerHTML = '<!--[if IE]><![endif]-->'; var isIE10 = !!d.firstChild && "msTransform" in d.style; d = null; return function (){ return isIE10; }; })();