fixed console.log issues in internet explorer