code: function resetTimer() {
                if( cancelTimer ) {
                  cancelTimer();
                  cancelTimer = null;
                }
                if( start && Date.now() - start > maxWait ) {
                  if(!runScheduledForNextTick){
                    runScheduledForNextTick = true;
                    utils.compile(runNow);
                  }
                }
                else {
                  if( !start ) { start = Date.now(); }
                  cancelTimer = utils.wait(runNow, wait);
                }
              }
docs: clears the current wait timer and creates a new one however, if maxWait is exceeded, calls runNow() on the next tick.