js: word-count: WIP