title: Razor with javascript issue
body: <p>I created a google map and I want to add a list of markers on it. But I have some razor-javascript issues.<br/>
  My cshtml file has a model <code>@model IEnumerable&lt;MCN.Domain.Entities.Location&gt;</code><br/>
  My model loading is fine it contains all values.<br/>
  I debug JS code in browser and it gets in addMarker method but stop at <code>var marker = new google.maps.Marker({</code> part.<br/>
  In visual studio I have green underline on <code>@foreach (var item in Model) {</code> with message: <strong>"Conditional compilation is turned off"</strong>
  This is JS part:</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  (function () {
          window.onload = function () {
              var mapDiv = document.getElementById('map');
              var latlng = new google.maps.LatLng('41.01146', '24.921659');
              var options = { styles: styleArray,
                  center: latlng,
                  zoom: 15,
                  mapTypeId: google.maps.MapTypeId.ROADMAP,
                  mapTypeControl: false                
              };
              var map = new google.maps.Map(mapDiv, options);
  
              @foreach (var item in Model) {                
                   @:addMarker(@item.Latitude, @item.Longitude, '@item.Name', '@item.DiscoveredBy');
               }           
          }
      })();
  
  function addMarker(latitude, longitude, title, description)
  {    
        var markerlatLng = new google.maps.LatLng(latitude, longitude);
        var title = 'test';
        var description = 'test';
        var contentString = 'test';
  
        var infowindow = new google.maps.InfoWindow({
            content: contentString
        });
  
        var marker = new google.maps.Marker({
            position: latLng,
            title: title,
            map: map,
            draggable: false
        });
  
        google.maps.event.addListener(marker, 'click', function () {
            infowindow.open(map, marker);
        });
  }
  &lt;/script&gt;
  </code></pre>
  
  <p>JS From browser:</p>
  
  <pre><code>(function () {
          window.onload = function () {
              var mapDiv = document.getElementById('map');
              var latlng = new google.maps.LatLng('44.01146', '20.921659');
              var options = { styles: styleArray,
                  center: latlng,
                  zoom: 15,
                  mapTypeId: google.maps.MapTypeId.ROADMAP,
                  mapTypeControl: false                
              };
              var map = new google.maps.Map(mapDiv, options);
  
                   addMarker(20.921659, 44.01146, 'Svetozar markovic', 'user');
                   addMarker(20.92829, 44.010333, 'Glavna Stanica', 'user');
  
  
  
          }
      })();
  </code></pre>