Making likes work in Ajax