The `Slider` class should be wrapped in a `define()` so it can be required like any other requirejs module.