fix missing console methods on IE8