code: function flushBuffer() {
              if (fileBuffer.length > 0 && original_fnRemove) {
                var tempBuffer = fileBuffer;
                fileBuffer = [];
  
                original_fnRemove(null, tempBuffer);
              }
  
              flushTimer = null;
            }
docs: Setup the buffer timer to flush contents