Hl7 Parser Javascript