Updated events_controller and added events.js