convert background page to event page
not needed json.js now