Update index.js

Some cleanup