delete slider js