updated for drafanddrop

Allows for drag-and-drop in the browser.