adds autocomplete, starts useing lunr