Update index.js

Changed check for android to make sounds work on iOS