Avoid load errors with document.namespaces in IE