handle some ajax in search box and friend list link