Fixed an issue in IE with console.