Fix for IE9

console.log.apply causes an exception in IE9.