fixed IE8 console.log issue