title: How to send back js.haml in rails
body: <p>I have a rails create action which send back some jquery in a file:</p>
  
  <p><strong>create.js.erb</strong></p>
  
  <pre><code>var appearance = $("&lt;%= escape_javascript(render(:partial =&gt; @appearance)) %&gt;").effect("highlight", {color: '#E6ff00'}, 2000);
  $("#sortable").append(appearance);
  $("#new_appearance")[0].reset();
  </code></pre>
  
  <p>I have started using HAML and want to know how I should be converting this. Can I use js.haml?
  If so what should the markup look like?</p>