Fixed small error with js ajax return of url on adding friend