Working on coffeescript for slide show