A naïve time series wrapper for JavaScript Arrays