fixed a few small inconsistencies/inefficiencies

These explicitly broke r2d3 support, presumably because Sizzle is less forgiving than the selectors in proper d3-supported browsers.