Added charts.js to modularize hc javascript code