Fix TypeError in sliders.js with non webkit browsers.
Merge pull request #442 from twbs/typeerror

Fix TypeError in sliders.js