js and xml