This will highlight JavaScript 1.2. The highlighting is based on patterns, it will not test for valid JavaScript.