For Cordova Platform