Added global.d3 to script.
Merge pull request #2 from MIND0S/master

Script fix by attach d3 to global.