Upgrade to last d3.js version

Upgraded to last d3.js version and fixed warnings thrown from grunt