Fixed cross-browser DOM api bug where namespace selection failed in firefox. Improved documentation.