cleanup
works to some degree
fixed mintime/maxtime
editing/fixing x-axis time labels
working highlight
moved d3 script out to separate file