removed deprecated code from index.html and updated chart.js