Untested fix for overloading console.log in injected consoles.