extract slider js