Add CommonJS modules to chrome. Make prefs. Blackbox ext. script in Firefox. Shared modules