Smarter JS, can take infinite sliders