An event driven XML parser intended for reading larger files in javascript