Lazarus 2.0.8 / FPC 3.0.4 / Win10
In unit web.pas line 140 the declaration
TJSEventHandler = reference to function(Event: TEventListenerEvent) : Boolean;
is not compiling.
There is also an issue in the uses area
Use
System.Types
is unknown. I changed it to Types