Update slide.js