renamed stats.js to barchart.js