add slide.js with comments and without useless methods