#17 Cordova 3.5.0 (and lower, possibly) support /w the device plugin
- fixed a script error