modify timeline.js