test cordova_plugin.js