Adding cordova network