Fixed word count

countWords() function seems to count some internal html tags as words, returning an invalid number (~80 instead of 20-something, etc, at least in all my Windows browsers). I replaced it with a regular expression.