adding d3.js stuff