Clean-up of the chart.js charts file