Update slider.js and index.html files