title: Modernizr is not defined
body: <p>I've included the Modernizr Touch Events detection to my project (only left the rest out to keep it light as possible).</p>
  
  <p>I use it to set different Google Maps JS options as following:</p>
  
  <pre><code>&lt;script&gt;
    function initMap() {
      var myLatLng = {lat: 52.022322, lng: 4.209055};
      if( Modernizr.touchevents ) {
          var map = new google.maps.Map(document.getElementById('map'), {
              zoom: 15,
              disableDefaultUI: false,
              center: myLatLng,
              scrollwheel: true,
              draggable: false,
          });
  
      } else {
          var map = new google.maps.Map(document.getElementById('map'), {
              zoom: 15,
              disableDefaultUI: false,
              center: myLatLng,
              scrollwheel: false,
              draggable: true,
          });
      }
  
      var marker = new google.maps.Marker({
          position: myLatLng,
          map: map,
          title: 'Duijnisveld Kasconstructies',
      });
    }
  &lt;/script&gt;
  </code></pre>
  
  <p>I've included this script in my page-contact.php file which displays the contact page on my Wordpress project.</p>
  
  <p>Whenever I view the <a href="http://duijnisveld.wpengine.com/contact/" rel="nofollow">page</a> I see no map and note the following error in my console:
  <code>(index):235 Uncaught ReferenceError: Modernizr is not defined</code></p>
  
  <p>What am I missing here?</p>
  
  <p>Thanks guys!</p>