Earlier today, Adam.JSGenerator v1.3 was released to CodePlex and NuGet. New features include support for the 'this' keyword as well as inserting statement snippets in addition to expression snippets. The main page on the CodePlex project site gives more details about what's new and improved.
What is Adam.JSGenerator? It's a .NET library that allows one to write C# code that emits JavaScript and is used in our own software to produce the JavaScript snippets required for Web development and in the code that interacts with Adobe products.
You can include Adam.JSGenerator easily in Visual Studio, provided that you have the NuGet package manager installed. To add it to a project, simply use the NuGet package manager, or at the NuGet command line type "Install-Package Adam.JSGenerator".
If you want to learn more, check out the original blogpost of 1.0 and visit the CodePlex project page.