pre-slider js merge