updated cumulativeLineChart.js