XML to JavaScript low memory streaming parser based on node-expat