code: function(options) {
      var that = {};
      var window = [];
      var lastDelta = 0;
      var smooth = (typeof options.timeSmooth === 'number' ? options.timeSmooth :
                    SMOOTH);
      var maxRTT = (typeof options.timeMaxRTT === 'number' ? options.timeMaxRTT :
                    MORE_HARM_THAN_GOOD);
  
      var maxWindow = (typeof options.timeMaxWindow === 'number' ?
                       options.timeMaxWindow : MAX_WINDOW_SIZE);
  
      that.adjust = function(rtt, delta) {
          if (rtt <= maxRTT) {
              if (window.length >= maxWindow) {
                  window.shift();
              }
              window.push({rtt: rtt, delta: delta});
              var minRTT = 99999999999999999999;
              var minIndex = -1;
              for (var i = 0; i < window.length; i++) {
                  if (window[i].rtt < minRTT) {
                      minRTT = window[i].rtt;
                      minIndex = i;
                  }
              }
              // low pass filter with exponential moving average
              lastDelta = Math.round(smooth * window[minIndex].delta +
                                     (1 - smooth) * lastDelta);
          }
          return lastDelta;
      };
  
      return that;
  }
docs: no filtering