Corrected console bug in IE<=8.