define a console object for IE8