solution for the javascript word-count
Improvements based on feedback
Merge branch 'master' of github.com:rprouse/Exercism