Implemented AJAX for adding hearts to comments in real time