code: function (id) {
          var proxy = CommandProxyMap[id];
          delete CommandProxyMap[id];
          CommandProxyMap[id] = null;
          return proxy;
      }
docs: cordova.commandProxy.remove("Accelerometer");