code: function () {      
        if (document.body) {        
          // make sure all resources are loaded on first activation
          if (!loaded) Live.loadresources();
          Live.checkForChanges();
        }
        setTimeout(Live.heartbeat, interval);
      }
docs: performs a cycle per interval