If the code is exactly the same for both Firefox and Fennec, shouldn't be put in some common file to avoid duplication? I don't know how Erik handled it, but I would like to avoid to have the same method duplicated. In the worst case we can put it on `tabs.js` itself, I guess.