A document is now saved when the table is changed.
About halfway to getting the wordlist modification working. This will *really* need refactoring. Maybe I should try using promises ...
Almost there to getting it working ... this js is *not* good in its current state. There is an abstraction that needs to happen.