added a switch for cordova/phonegap, so we can use native plugins on mobile devices.
Merge branch 'added-switch-for-sound-on-desktop-mobile'