This fixes issue #73

If you do a .text("") or .text(" ") the words = null, so the next line the words.length is invalid.