Update bargraph.js