Trims down deferred.js. The gist of it is from the magnificent @gibson042, I just added some minor touches.
Attach a file by drag & drop or click to upload