modified make_index.js.
modified sample_search.js.