Changed Chinese dictionary files to have a .txt extension.
Convert obj.word to a string before checking for blank strings.

This fixes the problem with extra spaces in the HTML.