Use a simple polyfill for console.log