old_contents: var itc = require("itunesconnect");
  var Report = itc.Report;
  
  var iTunesConnect = {};
  
  iTunesConnect.load = function(args, next) {
    var passedUnit = [];
    var itunes = new itc.Connect(args.email, args.password);
  
    itunes.request(Report.ranked().time(args.unit.within, 'days'), function(error, result) {
      if (error) {
        next(error, "iTunes connect error.");
      }
  
      var i, application, unit;
  
      if (typeof result.length === "undefined") {
        next(result, "iTunes connect error.");
      }
  
      for (i=0; i<result.length; i++) {
        application = result[i];
  
        if (application.title == args.unit.title) {
          passedUnit.push(application.units);
        }
      }
    });
  
    next(false, passedUnit);
  }
  
  module.exports = iTunesConnect;
  
new_contents: var itc = require("itunesconnect");
  var Report = itc.Report;
  
  var iTunesConnect = {};
  
  iTunesConnect.load = function(args, next) {
    var passedUnit = [];
    var itunes = new itc.Connect(args.email, args.password);
  
    itunes.request(Report.ranked().time(args.unit.within, 'days'), function(error, result) {
      if (error) {
        next(error, "iTunes connect error.");
      }
  
      var i, application, unit;
  
      if (typeof result.length === "undefined") {
        next(result, "iTunes connect error.");
        return;
      }
  
      for (i=0; i<result.length; i++) {
        application = result[i];
  
        if (application.title == args.unit.title) {
          passedUnit.push(application.units);
        }
      }
  
      next(false, passedUnit);
    });
  }
  
  module.exports = iTunesConnect;
  
subject: Fix response timing.