update jekyll search post
update JS code used in the jekyll search sample