Got the xml ajax function working