Organizing and adding charts.js