example setup for cordova