code: function() {
        var currPercentage = 0;
        log('_bytesTotal = ' + _bytesTotal);
        log('_bytesLoaded = ' + _bytesLoaded);
        currPercentage = Math.round((_bytesLoaded / _bytesTotal) * 100);
  
        log('Percentage: ' + currPercentage + '%');
  
        onUpdate(currPercentage);
  
        if (!_files[_currentSegment].length) {
  
          // Is there another group of files.
          _currentSegment++;
  
          if (_files[_currentSegment]) {
            startLoading();
          } else {
            onComplete();
          }
        }
      }
docs: /*
  
  @description Output the current percentage using the onUpdate function passed as parameter to the loader