fixing typo in index.js