I'm sorry but we just moved this piece of code to `js/panels/root/root.js` in bug 973453. Please move the following code there, thanks.