Converts Slideshow into CoffeeScript class