Rewrote the visitor.js so XML parsing is handled by Ruby. Can be swapped out for any other language, really.