Update slides.js from SVN trunk
Fix bug with removal of to-build class in slides.js