$('li:has(a[data-target="' + target + '"]), div' + target, 'div.a2lix_translations')
Because target is a class, I follow the practice to precise the element type