js backend call for sliders