Update index.js

typos
Merge pull request #1 from nexxy/patch-1

Update index.js