Update fileupload.js

now fileupload.js has a correct behaviour related to maxFilesQuantity: rather than last version, now we check it with the total number of items (totalItemCount) then when this number became greater or equal than maxFilesQuantity we disable the Add button and break the loop. I've tested it and works gracefully...