Untested fix for overloading console.log in injected consoles, attempt 2.