johncblandii.com
Javascript: Trim sentence to N number of words
I didn't spend time looking through any of the JS utilities to do this so if there is one publicly available I'd suggest using it since I just coded this and