Please move this to `js/main.js` as root panel is not loaded in some cases.