Timeline editor using d3