added bar.js