Get xml in js