It defines a javascript class which is instantiated for each listener among the tree of scopes. 

By this way, each listener received a dedicated event with a stable currentScope property.