Replaced raphael.js with d3.js