Removed d3 dom code.
Ready for release.