finish the client(js+html) part of slice file uploading