jsPlumb with Dojo
copied getUIPOsition from Deepak Branch