Fix typo in slider.js