html5 parser for node.js and browsers