d3 plugins should fail gracefully if the desired environment (i.e. d3) is not found on the page.

- Explicitly pass d3 into the plugin closure and check for object existence before initializing the plugin code.
- Adding plugin closures if they were not there already.