Convert all jQuery queries (that get confused by XML namespaces on Firefox) to getElementsByTagNameNS().