setup for cordova