slightly more elegant way (?) to bind d3 internals to dom