Update loading-bar.js