Yes. Javascript runs on Windows 8 with the Chakra engine. Like the .NET compiler just in time, it translates javascript into optimized machine code. Also the approach used by Google V8 and Mozilla TraceMonkey engines. Some background information is here .
source share