A lightweight XML Document class for JavaScript.