Fix TypeError in sliders.js

Fixes `TypeError: slider.style.webkitTransform is undefined`

/CC @connors @fat