Flickity - setting image caption, vanilla JS