Add console.log polyfill