Change background.js to event page.

This should save some memory. No persistent process is required.