Javascript slideshow based on ember