Try lunr.js search.