Javascript library and Slider at homepage