Scope of variables in external JS scripts

Did a new (desperate) attempt to figure out what is going wrong.

Both programs (demo Blockly application and my Node-Red node) have the SAME script tags:

<script src="https://blockly-demo.appspot.com/static/blockly_compressed.js"></script>
...

But it seems that under the hood, the script is loaded in a different way by both programs:

1. SCRIPT LOADING IN BLOCKLY DEMO APPLICATION

At the start of the first script, the Blockly variable is already global, which is good!
image

And the call stack is very short ...

2. SCRIPT LOADING IN NODE-RED NODE

At the start of the first script, the Blockly variable has an empty scope (instead of global)???:
image

And there seems to be a very long - jQuery related - call stack, based on ajax and globalEval. From this explanation I would expect that the globalEval defines all the script variables as global. Don't get it ...

A bit further the Blockly variable is defined (but scope is still empty):
image

And then only a part of the Blockly variable properties becomes global:

And that 'incomplete' global Blockly variable is used by the second Blockly script, and gives error due to missing properties ...

Does thid ring a bell to anyone, why the scope of the Blockly variable is empty (instead of global) at the start of the script when using jQuery??? Do I need to load the script another way (without jQuery)?

Bart