from line 167, add this following code:
						itemsCount++; 
						if (this.maxFilesQuantity && (itemsCount >= this.maxFilesQuantity)) {
							this.addButton.hide();
							break;
						}

So when total items count is greather than maxFilesUploaded it will break the loop and will disable the Add button. So in rf-fu-lst only maxFilesUploaded will be added.