use DOMParser if available; tune normalize() usage
giving module.id instead of module.uri