prototyping javascript -> C# Callback