code: function ponglog_out( event ) {
    if ( event && event.text ) {
      if ( event.severity && event.severity == "ERROR" ) {
        $( '#PongLog' ).append( '<span style="color:red;">'+event.text + '</span><br/>' );       
      } else {
        $( '#PongLog' ).append( event.text + '<br/>' );       
      }
    }
  }
docs: update data call back hook