Workers on web are extremely sandboxed,
they don't have access to any scope at all (including any haxe code from the "parent" app, no window globals, nothing).
In other words, the workers on js MUST be isolated, there is no other way.
The approach by clemos makes that pretty easy to do, and should still be relevant even today.