Don't use the ```console``` global. There is console.js which provides an implementation you can use.