Update index.js
Merge pull request #1 from lindkjop/patch-1

Fixed ios