in ifmap.js, the raw serialized xml is passed as a string to a
callback function for the actual client front-end to deal with. jsmap,
which provides such a frontend, just pretty-prints the xml to a
logging pane. nothing fancy. jsmap is meant to be kind of a
demonstration and educational tool.