[#104] moved search autocompletion script to seperate file