Add comments to index.js