console.debug fix for ie