properly inject d3.tip in cjs scenario