FIX: workaround firebug console.debug/console.log exception

Firebug console.debug/console.log raise an exception when called from javascript code injected from a content-script.