text: var imageWrapperElement = document.getElementsByClassName('image-wrapper')[0];
  var currentImageElement = document.getElementsByClassName('current-image')[0];
  slider(imageWrapperElement, currentImageElement);