title: ajax success function is printing [object Object] instead of plain text. Why?
body: <p>jQuery code:</p>
  
  <pre><code>function ajaxsubmit(){
  $.ajax({
      url: "/update",
      type: "POST",
      dataType: "html"
  }).success(function(data) {
        $('#result').html(data);
    });
  }
  </code></pre>
  
  <p>and my Java function: </p>
  
  <pre class="lang-java prettyprint-override"><code>public static Result ajaxupdate() {
      String done = "very good";
      return ok("very good").as("text/plain");
  }
  </code></pre>
  
  <p>the alert is giving <code>[object Object]</code>, instead of plain text <code>"very good"</code>. why? </p>