rebuilt app.js
add progress bar