Check for console.log to support Internet Explorer

Internet Explorer doesn't provide `console` or `console.log` unless you are running in development mode. Hopefully your users don't get to this point, but if they do, crashing the app for this would suck.