Refactored
Refactored
Use `nsIParserUtils` instead of `node.innerHTML`
Fixes issue #1