NASA has published the guidelines that it uses for writing safety-critical code. The agency primarily uses C for safety-critical code, but the guidelines are also applicable to other languages. Here
Tiobe has named JavaScript as the language of the year for 2014 because it was the biggest mover on their index, jumping from a 1.569 percent rating a year ago