title: Get Trailing commas( in JavaScript ) working in IE7/IE8
body: <p>You find much infos to trailing commas here:
  <a href="https://stackoverflow.com/questions/7246618/trailing-commas-in-javascript">Are trailing commas in arrays and objects part of the spec?</a></p>
  
  <p>It's about the comma at "right there".</p>
  
  <pre><code>[
          { title: "..", display: function() { return ".."; } },
          { title: "..", display: function() { return ".."; } },
          { title: "..", display: function() { return ".."; } }, // &lt;--right there
      ]
  </code></pre>
  
  <p>My problem is now, that a 3rd party tool generates this list with a trailing comma and I am not able to access the sourcecode of this tool. I</p>
  
  <pre><code>&lt;body&gt;
  my stuff
  &lt;!-- the folloging div with the javascript comes from the 3rd party --&gt;
  &lt;div class="item"&gt;&lt;script type="text/javascript"&gt;
  $(document).ready(function() {
  
  
      $.supersized({
  
          // Functionality
          slide_interval          :   8000,       // Length between transitions
          transition              :   1,          // 0-None, 1-Fade, 2-Slide Top, 3-Slide Right, 4-Slide Bottom, 5-Slide Left, 6-Carousel Right, 7-Carousel Left
          transition_speed        :   400,        // Speed of transition
          fit_always              :   0,          //Prevents the image from being cropped by locking it at 100% width.
          min_width               :   600,        //min-width of images
          random                  :   0,      //random img
          vertical_center         :   1,          //vertical alignment
  
          // Components                           
          slide_links             :   'false',    // Individual links for each slide (Options: false, 'number', 'name', 'blank')
          slides                  :   [           // Slideshow Images
  
      {image : 'image1.jpg', otherstuff: 'blah', moreotherstuff: 'lorem'},
  
      {image : 'image2.jpg', otherstuff: 'blub', moreotherstuff: 'ipsum'},
  
  
                                      ]
      });
  });
  &lt;/script&gt;&lt;/div&gt;
  </code></pre>
  
  <p>And now I am asking me is there any way to get this working in IE7/IE8.</p>
  
  <p>The only way I see right now (as i can't edit the 3rd party and can't access it on the server) is:
  - give a special output without that div
  - request the normal side via ajax
  - parse everything, get this div, delete last comma and execute the javascript</p>
  
  <p>that's realy not the way I want do it. Is there another way I could solve this?</p>