cosmetic changes to index.js