Bug 821156 - Fix console in content-worker API.

Not totally sure this is the right fix, but it seems to work!