fix for e.dataTransfer is undefined in some browsers