add js word-count 1st iteration