Create searchIndex.js