title: JavaScript inside Section in PartialView
body: <p>I render section in HEAD od HTML page and PartialView in the middle of the page like the code shows below</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
      @RenderSection("Scripts", false)
  &lt;/head&gt;
  .....
      @Html.Partial("_MenuAdmin")
  &lt;/html&gt;
  </code></pre>
  
  <p>In PartialView _MenuAdmin I have some javascript.</p>
  
  <pre><code>@section Scripts
  {
      &lt;script type="text/javascript"&gt;
          alert("Test");
      &lt;/script&gt;
  }
  </code></pre>
  
  <p>So, the problem is that same JavaScript code doesn't loaded. If instead PartialView I use View JavaScript loaded properly.</p>
  
  <p>How I can load JavaScript in my sample?</p>