fix PostMessage in Firefox Addons