Script to create search-index.js