var loadingBar = 200;
function animationBarOne(){
var elements = document.getElementsByClassName("loading-bar");
for (var i = 0; i < elements.length; i++) {
elements[i].style.width=(loadingBar+"px");
}
loadingBar++;
if(loadingBar === 900){
clearInterval(intervalId);
}
}
var intervalId = setInterval(animationBarOne,1);