Refactor readerTools.js

Found the source of problem with word list (BL-599)
Merge pull request #100 from phillip-hopper/RefactorReaderToolsJS

Refactor readerTools.js