adding postmessage shim as suggested,fixes #51

This helps not breaking when `console` is unavailable to workers, like in the current release version of Firefox.