Adding some more configurability to barChart.js, updating comments