pedantic fixes: indentation, semicolons. Done while debugging to find out I didn't understand d3.selection.call() at all. Learned something today.