Make console work in IE8