old_contents: 
  // Use Parse.Cloud.define to define as many cloud functions as you want.
  // For example:
  Parse.Cloud.define("hello", function(request, response) {
    response.success("Hello world!");
  });
  
new_contents: Parse.Cloud.useMasterKey();
  
  Parse.Cloud.job("removeUnusedUrbanAirship", function(request, status) {
      var UA_INSTALLED = "uaInstalled";
      var UA_OPT_IN = "uaOptIn";
      var query = new Parse.Query(Parse.Installation);
      query.equalTo(UA_INSTALLED, false)
          .equalTo(UA_OPT_IN, false);
      var count = 0;
  
      query.each(function(install) {
          count++;
          install.destroy();
      }).then(function() {
          status.success(count + " Urban Airship entries removed");
      }, function(error) {
          status.error(error);
      });
  });
  
subject: remove Urban Airship entries that are already uninstalled or opted out.