changed name of events.js to eventpage.js