Minor cleanup to menu-bar.js.