added cordova stuff