Flickity - lazyLoad event, vanilla JS