add logging in initializeImageSlideShow of imageSlideShow.js