IMHO, the better solution is to use event  'BeforeUpload' instead of 'FilesAdded' :
...
uploader.bind('BeforeUpload', function(up, files) {
...