IE console.log bug fix