I have my edge composition, and some functions in sim.js
within the stage.onCompletion event, I have:
$("<script type='text/javascript' src='sim.js'></script>").appendTo("#Stage");
how can I call functions, e.g. "testMe()" that are in sim.js from within the stage.onCompletion event?
$("testMe()"); was my first thought, but no. what am I missing?