.text() function was not concatenating all texts