Update bar-graph.js