Fix the javascript
Merge pull request #3 from MicroPasts/fixProgressBar

Fix the javascript