check if window.console is defined, IE console issue