Javascript impove string_contains to work for needle being substrings of haystack.

e.g. needle combo should not be found in haystack combo3.