Loading time of instantSearch.js is so high

The size and loading time of instantSearch.js is too high. Is there any way to remove the unused part from the code or add the search to our website without instantSearch.js or with another module’s help?