Clean code on index.js, about slide