title: Error creating object in IE8
body: <p>I have the following code:</p>
  
  <pre><code>    var APP= APP || {};
      APP.settings = {
          apiRoot: "http://localhost/appapi",
          siteRoot: "http://localhost",
      };
  </code></pre>
  
  <p>This code works in Chrome and Firefox but is throwing an error in IE8, <code>Unable to set value of the property 'settings': object is null or undefined</code> </p>
  
  <p>This isn't my code so I'm at a bit of a loss to why this isn't working?</p>