Update upload.js

here is a dirty way to be able to remove files after selected