Updated to latest d3 release
Removed orphan code