title: VS 2012 not highlighting Javascript code syntax errors
body: <p>I'm a beginner to JavaScript and I am learning the fundamentals at the moment. </p>
  
  <p>I have used visual studio before for code such as C# and VB and have a decent understand of how it highlights errors etc and shows build errors and what not. </p>
  
  <p>Here is a small bit of code I've written in VS2012 in a HTML 5 file and the issue I have is it has 2 very obvious syntax errors however it does not highlight them and the page is allowed to run in both Firefox/Internet Explorer. The page obviously doesn't work and had I not known this syntax is wrong I wouldn't have been able to diagnose it.</p>
  
  <p><a href="http://pastebin.com/LX4L7YiD" rel="nofollow noreferrer">http://pastebin.com/LX4L7YiD</a></p>
  
  <p>Now I have looked at this topic : <a href="https://stackoverflow.com/questions/14370477/vs-2012-syntax-highlighting">VS 2012 Syntax highlighting</a> </p>
  
  <p>I can't seem to make out from the above topic what exagtly I need to do to try that fix or even if that fix is relevant to my issue. The poster talks about what he's done but I don't understand how or what he's done.</p>