add custom event in drag-and-drop.js