write a DOM3 way of parse XML in supportInBrowers.js