Fix failing JavaScript tests

Fixing the tests also fixed the problem where word list is blank when the page first loads.
Changes in readerToolsModel.ts replaced the file readerTools.d.ts after rebasing.