Create timeseries.js