js variable / selector, jq function

javascript example handles finding the thing inside of the SWVG but
trying to map JQ functionality to that JS variable