title: Uncaught ReferenceError: Invalid left-hand side in assignment
body: <p>I have some JS code that tried to append the JS file into header, but I have an error message on chrome <code>Uncaught ReferenceError: Invalid left-hand side in assignment</code> and get different error on safari <code>SyntaxError: Unexpected token ';'. Expected ']' to end a subscript expression.</code>, my code </p>
  
  <pre><code>var js =  $('&lt;script /&gt;',
                          {
                              src         : 'scripts/contentStrings/content.js',
                              type        : 'text/javascript',
                              language    : 'javascript'
                          })
  
              js.appendTo("head") &lt;-- the error from
  </code></pre>
  
  <p>If I check on header the script is append to header.</p>
  
  <p>Any help is much appreciated.</p>
  
  <p><strong>Edited</strong> : </p>
  
  <p>Here is the inside of content.js </p>
  
  <pre><code>var sponsor = {}
  
  sponsor["containerSize"]    = [[78,60] , 60 , [7,17.3] , [19,16]];
  
  
  sponsor["imageBackground"]  = [[78,60] , 60 , [7,17.3] , [19,16]];
  
  
  sponsor["contentLong]"      =   "&lt;div id='contentGroup'&gt;Long content&lt;/div&gt;";
  
  sponsor["contentShort"]     =  "&lt;article style='font-size:10px !important'&gt;Some short article&lt;/article&gt;";
  </code></pre>