updated slide js