only include d3 in the script.js build file