Revert "Access console on window for IE"

This reverts commit bdb2d404748907b5e3b8f197aadfcc249ebb93fa.