update badge when alert() is called - only works on *.chrome.com