Fix IE10 console.log error