should run on node 0.6, too (ubuntu 12.10 ships with node 0.6)
fix a bug regard xml parsing in safari; apparently DOMParser is not a function but an object in Safari.