console.log doesn't work if the console isn't visible in IE.