window.ActiveXObject in IE11: fix boolean casting

in Internet Explorer 11:
window.ActiveXObject // function ActiveXObject() {[native code]}
!window.ActiveXObject // *true*
Merge pull request #2046 from dkrnl/master

window.ActiveXObject in IE11: fix boolean casting