added js snippet to find unique words in a string/paragraph