don't assign onto window.console

In node `window` doesn't exist yet this module was trying to assign onto window.console. Modules shouldn't be exporting their functionality onto global objects in the first place, particularly without checking if the global actually exists first.