When JavaScript uploads the files, I realize now the function should return nothing.