Add requirement of d3 to application.js