templateContent moved from window to Platform
StyleLoader API requires baseURI of owner document to be passed when loading styles