Fixed bug with .text(), it only returned the text for the first element.