Forgiving HTML/XML/RSS parser for node in pure JavaScript