updated slider js