jshint-ed slider.js