code: function ponglog_DivHTML( divId, resourceURL, paramObj ) {
  	log( "ponglog",  "divId="+divId  );
    var height = $( '#'+divId ).parent().height() -90;
    var width  = $( '#'+divId ).parent().width()  -30;
  	$( "#"+divId ).html( '<div id="PongLog" class="ponglog" style="height:'+height+'px;">' );
    
  	window.onerror = function ( msg, url, num ) {
  	  var logBroker = getEventBroker('log');
  	  logBroker.cleanupQueue( 1000 );
  	  logBroker.queueEvent( { text: '['+func+'] JS: ' + msg + ' / '+url+ ' / '+num , channel:'log', severity:'ERROR' } );
  
  		//ponglog_debug_out( "JS: " + msg + " / "+url+" / "+num );
  	}
  	
  //	loggerModule = true;
    var logBroker = getEventBroker( 'log' )
    console.log( 'got logBroker' )
    console.log( 'got logBroker '+logBroker.evtQueue.length )
    logBroker.subscribe( 
        { 
          channel:  'log', 
          callback: ponglog_out
        } 
    );  
    console.log( 'logBroker.subscribe(log...) done' )
  	log( "ponglog", "divId="+divId+" end.");
  }
docs: print this on console, when module is loaded ======= Code for "loadResourcesHtml" hook ================================================