JavaScript sample code ASP.NET C#