JS additions for carousel FN

adjustments to JS for the slideshow functionality and the writing in of
the carousel items.