Added AJAX functionality for likes