This is where frameworks, compilers, engines, and other solutions to make a program web compatible come in to play but these solutions have lead to features that do not fit the Javascript language or ideology.

Node.js was introduced by Ryan Dahl in 2009, it created server side capabilities for Javascript allowing developers to utilize a single programming language to build a web application, rather than relying on a different languages for creating their server side and client side scripts.

Asm.js is an example of an extraordinarily optimizable, low-level subset of JavaScript (not a new language) which makes the process faster, but it still runs in the browser so its performance is greatly dependent on the browser and hardware and leaves much to be desired.