separated slideshow js.