Hi dlgross
there is no specific tool for converting the javascript code to C#. You need to write the C# code for a javascript code manually.
The tips that you need to follow are:
You just need to understand the code they had written in javascript and search in GOOGLE for corresponding classes in C# and replace them in javascript file.It most of the scenerios it works fine.