it's worth adding a sandbox attribute here

el.setAttribute('sandbox', '');