This line will break if `window.ActiveXObject` is undefined. On line 10, you should `return cb()` if the test fails.