Another alternative for javascript coding : TypeScript.
I you haven't heard of it, it's a tool from Microsoft, which allows to write javascript using a superset of javascript.
Some elements include : classes, types, modules.
It is very close to javascript (as a matter of fact, any valid javascript is valid TypeScript). You can find more on
http://typescript.codeplex.com
It's certainly something worth to look into, because it does not have the problems c# to javascript conversion has, mainly, c# being too much different from javascript to provide a good abstraction.
Converting your code to typescript is fairly easy.
I've been given it a try, converting an existing scriptsharp project to typescript, and the results are very promising, even though TypeScript is still in alfa phase.
I was so much pleased with the experience, I decided to go on with TypeScript, and say goodbye to ScriptSharp or Saltarelle.
As a consequence , I'll probably won't post any more topics in this group.
For those who decide to continue with ScriptSharp or Saltarelle, I suggest to further follow these projects on their own sites en
stackoverlfow.com.