Update index.js

Changed check for android to make sounds work on iOS
Merge pull request #1 from danthebaker/master

Update index.js