Implemented cascading XML traversal to accommodate inconsistent behavior of jQuery across chrome and ffx.