Truncate mixed blocks of text and html to a defined amount of words with jQuery