Update dragandrop.js

Removed unnecessary code.
Change few names on events (whendrop to whenDrop)