Masonry - imagesLoaded progress, vanilla JS