adding an example of searching xml through javascript