Create appendslides.js