title: ASP.NET MVC JQuery error when run without debugger
body: <p>I'm working on a project (asp.net mvc). When I run it in debug mode it runs without any error, but if I runs it in release mode (run without debugging) it gives following errors. What could be the issue.</p>
  <pre><code>Uncaught SyntaxError: Unexpected token 'const'
  Uncaught ReferenceError: $ is not defined
  </code></pre>