updated d3.js and used full version instead of min.