JS Class using JQuery to create easily Sliders