typecurve.js: some tools for decline-curve analysis and aggregation on the client side