How do I share javascript code between background and content scripts in Firefox Jetpack add-ons?
===

I've written a library to mimic Chrome's request/response API for my Firefox add-on. Obviously I need to use this code in both my background process (main.js) and my content script. Surely there must be a better way than [stringifying the imported module](http://stackoverflow.com/questions/6425831/how-to-share-code-between-content-script-and-addon).