renamed bars js and tweaked index center