reverting Chart to Chart.js