fixed bug cause by updating to d3 v3. d3.svg.mouse to d3.mouse