add minified d3 tip script