add bar.js

super new feature