moved console polyfills to polyfills.js