IE 11 detection is not happening with dhtmlxtreegrid

We are using treegrid to show a project explorer. Its working properly in chrome,FF and IE10.
But in IE11 its not loading.
We are passing xml data to loadXMLString function of dhtmlxtreegrid.
After debugging for a while, we found that IE11 browser detection is not happening in
in dhtmlxcommon.js and dhtmlxtreegrid.js.

parse: function(data) { data = data.replace(/^[\s]+/,""); if (window.DOMParser && !dhx4.isIE) { // ff,ie9 var obj = (new window.DOMParser()).parseFromString(data, "text/xml"); } else if (typeof(window.ActiveXObject) != "undefined") { var obj = new window.ActiveXObject("Microsoft.XMLDOM"); obj.async = "false"; obj.loadXML(data); } return obj; },

In above code of dhtmlxcommon.js, typeof(window.ActiveXObject) is returning undefined and in result parse function returning undefined.
http://msdn.microsoft.com/en-us/library/ie/dn423948%28v=vs.85%29.aspx and
http://msdn.microsoft.com/en-us/library/ff955298(v=vs.85).aspx
from above links, its observed that window.ActiveXObject will not work under conditional statements.
Its working properly, if we replace typeof(window.ActiveXObject) != “undefined” with window.ActiveXObject != “undefined”.
Please give your suggestions.

Please, try to update the version of your dhtmlx.
If the issue still occurs for you after the update please, open ticket at support.dhtmlx.com and provide with a complete demo, where the problem can be reconstructed.