Added global.d3 to script.