Slideshow fix, formatting, remove unused js