Yes, in JavaScript ambiguity arises with "with" because of different JS implementations. For "with" in the WebBuilder Pascal I assume an unique name lookup. Problems in the translated JS could be resolved in theorie (by expanding the shortened names to fully qualified names, and a renaming scheme). While I personally do not like using "with" (because of the implicite context it's harder to read and understand), I don't see a problem in the pascal code.