jQuery dependant function to limit the length of a text string inside a dom element. Doesn't trim words.