Slideshow work

Refactored the slideshow to load the images based on what's in the JSP,
not in the JS file.