Adding all the stuff required for a HTML5 slideshow