Update slider js