Add getBadge method on library BrowserAction.
Temp