It looks like you're using the dom ready event to setup some click handlers here, but I don't see where the click handlers make use of the `Slider`. If this is separate functionality, I'd recommend moving this to a separate file. Furthermore, I think it's bad practice to implicitly add event handlers to the dom when a file is loaded/required. The reason is that not only are you loading code but also depending on the side effect of loading that module. It seems like you have two separate concerns here.