Added KMP search in JS.
Merge pull request #364 from jcla1/master

Added KMP search in JS.