Revert "js: word-count: WIP"

This reverts commit 2a74e50bc57ae5c72060c3e2aab66ef173e81c55.