Dunno why this is there specifically, I just refactored this from the original code in dragdrop.js it's not added by this pull request