Novak Djokovic says he "did not feel that great" as he came back from a set down to beat American qualifier Zachary Svajda and reach the US Open third round.