Use AJAX to only replace the required part of the form