AJAX requests for new sentences implemented