Update upload.js

Hi, it seems you use dragexit instead of dragleave. dragexit is specific to Firefox. I propose you this update. May be you should find wise to maintain both events.