console.log polyfill was broken