Remove customisation of typeahead, create own workaround

This gets rid of the typeahead customisation I did in #599, which is much better as we don't touch external libraries anymore.

Thanks alot @elemoine for the input!