Update index.js

Cleaned up comments