Remove old incorrect version of index.js