communication web/cordova app