MDL-51117 JavaScript: Convert alert to M.core.alert in dndupload