Update dragdrop.js

event register updated