Address feedback
in https://www.w3.org/Bugs/Public/show_bug.cgi?id=27261#c2.
Bug 27261 - Added global environment, cleaned up.
Bug 25714 - [Custom]: Move microtask processing to compound microtask
https://www.w3.org/Bugs/Public/show_bug.cgi?id=25714
Merge pull request #25 from dglazkov/microtask

Bug 25714 - [Custom]: Move microtask processing to compound microtask
Bug 27261: Addressed feedback in comment 4.
Merge pull request #24 from dglazkov/svg

Address feedback in bug 27261.