d3.svg.mouse => d3.mouse

[#45851973]

Also use d3 function:

  <selection>.node()
to get dom element instead of more obscure older method:

  <selection>[0][0]