Fixed add friend button JS error