remove self-dependencies, and fix amd modules
Merge branch 'master' of https://github.com/Rich-Harris/modular-d3