This tag used to take a "main" function and converted into an inline script, both so it could execute and for it to be moved over the flood. But inserting the script dynamically like that did not work for streaming capturing in Firefox - so instead, I just execute the function (if it's a function), and leave the work of creating a script node out of it to capture.js.