Add javascript word count