Javascript and AJAX integrated and sending row information based on the row in the table that was clicked