Update uploader demo to handle empty array in onChange of FileUploader