A DOM element selection utility