title: IE9 error: SCRIPT5007: Unable to get value of the property 'ajax': object is null or undefined
body: <p><strong>My problem</strong></p>
  
  <p>I'm trying to put a map on a webpage, the data being fetch with Ajax. It works fine with all browsers, but not IE9.</p>
  
  <p>I get an error:</p>
  
  <blockquote>
    <p>SCRIPT5007: Unable to get value of the property 'ajax': object is null or undefined </p>
  </blockquote>
  
  <p>and the map does not load.</p>
  
  <p><strong>The code</strong></p>
  
  <pre><code>       var mapModel = new Map(); 
  
         mapModel.get("leads").fetch({success: function(){ //error on this line
                var mapView = new MapView({ model: mapModel });
                $('body').append(mapView.el);
                mapView.render();
             }});
  </code></pre>
  
  <p><strong>What I tried</strong></p>
  
  <p>This seems to be a very common issue, <a href="https://stackoverflow.com/questions/5787245/ie9-javascript-error-script5007-unable-to-get-value-of-the-property-ui-obje">here</a> is the most up-voted question on the subject. So I tried to put </p>
  
  <pre><code> &lt;meta http-equiv="X-UA-Compatible" content="IE=8"/&gt;
  </code></pre>
  
  <p>but it didn't solve anything.</p>
  
  <p><strong>My question</strong></p>
  
  <p>What I should I do to fix this problem?</p>