Initializes Stage._pendingScripts earlier