implement node re-querying when a document acquires new scripts nodes in the middle of parsing; probably impairs performance, brittle wrt node injections above the current parser point