Adds a smarter script source finder that looks for the d2.js script to find the script path
Merge branch 'master' of https://github.com/Markionium/d2

* 'master' of https://github.com/Markionium/d2:
  Adds a smarter script source finder that looks for the d2.js script to find the script path