Small fix of FileUpload JS code.