Avoid IE `console` errors

Avoid `console` errors in browsers that lack a console.