parses sitemaps for Node.JS