title: Why is jsfiddle giving me the error "SyntaxError: Unexpected token :"?
body: <p>I'm using structured javascript code and it works fine on my computer. But when I add it to jsFiddle, it gives me the followinge error:</p>
  
  <pre><code>SyntaxError: Unexpected token :
  </code></pre>
  
  <p>My code looks like this:</p>
  
  <pre><code>var StentGallery = {
      gallery: null,
  
      init : function(){
              this.gallery = jQuery('#gallery-list-ui');
              this.resizeImage();
          }
      }
      (...)
  }
  </code></pre>
  
  <p>Does anyone know why this is not working in jsFiddle?<br>
  See my fiddle here: <a href="https://jsfiddle.net/smyhbckx/" rel="nofollow">https://jsfiddle.net/smyhbckx/</a></p>