Separately, you may find that the TypeScript project (as mentioned by one commenter) achieves what you want. Please visit http://www.typescriptlang.org for more details.
Jordan – Microsoft Visual Studio PM
Igor Zhan commented
Neetish Neerala commented