You can use whatever custom extension you want on the client side; janus.js uses the one we conceived with its specific semantics, and so using a different one there would mean changing the code in janus.js accordingly. We won't include any extension code as part of the github project, sorry, that's a client side matter.
About Firefox, it doesn't make use of extensions as Chrome for ScreenSharing. They employ a whitelist that can be used to identify website that can start a screensharing session: AFAIK this whitelist is both global (they populate a list of "good" services, if you ask them) and local, meaning each browser user needs to add the website to their about:config. Not sure how this works, though, you'll have to look around.
Lorenzo