Update dragdrop.js

added docstring