Dumb attempt at C# -> JavaScript compiler