No need for parens here. Also it can be shortened to:
```javascript
maxUploadSize = maxUploadSize[ maxUploadSize[ filetype ] ? filetype : '*' ];