When using latest d3.js I get javascript error app.js:9 Uncaught TypeError: d3.xhr is not a function