Kind of similar to my previous comment, but I'm not sure that it makes sense to have a "firefox.js" here. I think this should be part of capture.js.