$(document).ready(function() {
  $('#show-answer-form').click(function(event){
    event.preventDefault();
    $.get($(this).attr('href'), function(response){
      $('#show-answer-form').hide();
      $('.question-container').after(response);
      $('#answer-body').focus();
    })
  })
});

@@ -132,24 +132,125 @@
 href'), 
-function
+showAnswerForm)%0A  %7D)%0A%0A///////////////////// CALLBACK FUNCTIONS /////////////////////%0A%0Afunction showAnswerForm
 (respons
@@ -253,20 +253,16 @@
 ponse)%7B%0A
-    
   $('#sh
@@ -286,20 +286,16 @@
 hide();%0A
-    
   $('.qu
@@ -330,20 +330,16 @@
 ponse);%0A
-    
   $('#an
@@ -363,19 +363,10 @@
 ();%0A
-    %7D)%0A  %7D)
+%7D%0A
 %0A%7D);

refactor with added calback function