An attempt at improving a d3js timeline