Get Node X/Y position in browser

I’m making mouse-over tooltips where HTML popup supposed to show up above hovered node.

How do I get node X/Y position in browser having mouse/node position on canvas?

Using Scale Ratio didn’t work well, same as few other approaches I tried.