Vanilla JS - brick-progressbar