title: ExecJS::ProgramError: SyntaxError: Reserved word "function"
body: <p>In our rails rfq.js.coffee, we only have a simple js code:</p>
  
  <pre><code>$(function() {
    $('#need_report').change(function(){
      if ($(this).val() == true) {
        $('#report_language').hide();
      }  // end if
    });  // end change()
  });  // end ready(function)
  </code></pre>
  
  <p>However this code causes an error saying that function() in first line is a reserved word. Since the first line is basically a jquery <code>$(document).ready(function () {})</code>, we have no clue why this error shows up. Any thoughts about it? Thanks so much.</p>