updated for draganddrop

Allows for drag-and-drop in the browser.