fix 'console-check' bug in IE8