Fix failing JavaScript tests

Also fixes bug where word list is blank when the page first loads.
readerToolsModel.ts replaces readerTools.d.ts.