Update app.js

Fixed bug with progressbar max limit not updating properly.

/ILE