Adding Behavior for Slider.js.

technically you don't need the break if the previous statement is a return.