Put the document.namespaces.add behind a window-ready.
Reminify