ie10 console.debug fix

I'm sorry for previous pull request. Bad day :(