Add events to line charts. Add events.js file for storing events