Updated Javascript

Converted GetComments to XML