AJAX gets click data and sends to tickets controller