Only redo search when input value changes

Fixes https://github.com/slashdotdash/jekyll-lunr-js-search/issues/22