Time changes to timeline.js to support removing events