Added XML data parsing

In main.js there is a basic function to parse the XML data to JSON
objects.