Made the jshint pass
Attaching only to known elements of the slider