fix AMD

When importing both `d3` and `d3.tip` using `Require.js`, `d3.tip` does not set the d3 object's tip method. This pull request fixes that.