Fixing slides.js