application.js: add the headerbar to the titlebar