Fixed a bug in IE8 console