Fixed console.log error on IE