Refactored d3js object naming.