Use native DOM APIs for window drag/drop listeners

Otherwise, these event handlers will interfere with other
event handlers bound using other versions of jQuery