Implemented AJAX to correctly send the row that is being clicked to the App.rb