Add local copy of d3

Also update JQuery references to use local copies.
Merge remote-tracking branch 'origin/local-d3'

* origin/local-d3:
  Add local copy of d3