Removes unused modules in index.js