Update to use event page rather than background page

Google now recommends the use of event pages over background pages
wherever possible: https://developer.chrome.com/extensions/event_pages