test for cordova.js app