Fix bug progress bar (js+markup)