Updates timeseries.js