starting work on timelines via JavaScript