Javascript interface for XML for Analysis