Adding EventPanels.js