A JavaScript XML parser