Rewrite event-page.js