title: Missing : after property id syntax error
body: <p>I'm getting a syntax error from the code below:</p>
  
  <pre><code>(function({ 
    var resultsDIV = document.getElementById("results"),
      searchInput = document.forms[0].search,
      currentSearch = ''
    ;
  </code></pre>
  
  <p>I have tried all sorts of ways of writing this line but continue to get the same error.</p>
  
  <p>The actual error I am getting is:</p>
  
  <blockquote>
    <p>"Syntax Error: missing : after property id"</p>
  </blockquote>
  
  <p>Can anyone help?</p>