code: function popLoadingState(xhrEvent, stateName, modelOrCollection, context) {
          var currentLoads = getState(stateName, context);
          if (_.isArray(currentLoads)) {
              var i = currentLoads.indexOf(xhrEvent);
              while (i >= 0) {
                  currentLoads.splice(i, 1);
                  i = currentLoads.indexOf(xhrEvent);
              }
              if (!currentLoads.length) {
                  var toSet = {};
                  toSet[stateName] = undefined;
                  setState(toSet, context);
              }
          }
      }
docs: remove the xhrEvent from the loading state