Slider js file issue