Clean index.js