using jquery-xml2json for browser support