Patch window.console for IE7/8.