Update index.js

keep this style ?
Merge pull request #1 from Jayin/patch-1

Update index.js