worked on progressbar.js a bit