Update sliders.js

Fixed coding style errors