updated cordova.js to use commandProxy