progressbar js correctly loading