add ajax to search bar, loader gif