I don’t understand how you came to such conclusion. Here is how I imagine it in more detail:
-
ME is reading everything that is happening in RAM.
-
You open Javascript with a “secret code” for ME. AFAIK Javascript runs in RAM.
-
ME finds that signal and gives a command to dom0 to connect to a remote server.
-
Game over™.