title: new.js.haml is not rendered
body: <p>I am having a <code>form</code> which was designed as follows</p>
  
  <pre><code>= form_for :url =&gt; @question do |f|
    %table
      %thead
        %td
          = f.label :ques
        %tr
          = select_tag 
  </code></pre>
  
  <p>options
      %tbody#questions</p>
  
  <p>In my controller I have </p>
  
  <pre><code>def new
    @question = Question.new
  
    respond_to do |format|
      format.html
      format.js
    end
  end
  </code></pre>
  
  <p>In new.html.haml</p>
  
  <pre><code>:javascript
    $('select').change(function() {
      $.ajax({
        url: window.location.href
      });
    });
  </code></pre>
  
  <p>Where I am wrong in the above coding? Why this page is not rendered in js format?</p>