Storing XML in the global (window) object