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.
Merge pull request #9 from tianon/r2d3

fixed a few small inconsistencies/inefficiencies