First draft of the node version of TimeStats
change formatters for xaxis and yaxis + tooltip and handle errors