Switch from Javascript to C# scripts.