LWC monkey patches a lot of built in methods.
This PR gets around that issue by pulling new references from a temporary iframe, which hasn't been monkey patched yet.