Require d3 in app.js