$(document).ready(function() {
});

$(document).ready(function() {
  $('.river-form').on('click', function(event) {
    event.preventDefault();

    var url = event.currentTarget.action;

    $.ajax({
      url: url
    })
    .done(function(data) {
      $('#river').html('');
      $('#river').append(data);
    });
  });
});

Add logic to append the AJAX response from the server to the current river.
Add logic to append the AJAX response from the server to the current
river.
