Update fileupload.js

FIX for wrong behaviour in case of multiple upload if empty extension support specified in acceptedTypes.