Chrome extension to track js background event statistics