fix Ajax functionality in likes#create ref #9