Stop using the curl(string) syntax internally.
slightly better error message when multiple anon defines are encountered (could be from a script element, not a fetched module file).
Fixes #199: Fallback to doc.getElementsByTagName when doc.scripts does not exist.