fixed checkIfUploadFinished bug

If the file is 2.3MB and chunkSize is 1MB, the resumable.js is splite the file to 2 chunck, the last chunck's size is 1.3MB, so the java code is error