Avoid load errors with document.namespaces in IE

Issue 64