# changed "beforeDrop" and "click" event binds to fit jsplumb update (1.7.10 passes in connection as parameter to bind; needs to be thoroughly overhauled...)