update to slider.js.coffee