how to parse xmlhttp responsetext in javascript