Zeroic
4
Hi, no worries at all 
You can use the Toolbox plugin (I use this in all of our client applications) to inject custom JS using the Run Javascript workflow action in sync with the Javascript to Bubble element
Regarding the distance function, I might need to check on this cause I’m not sure as well
1 Like