remove unused and updates to chart.js