Most of the JavaScript deobfuscaters are written in JavaScript. You could port one of the open source ones to C#. Or just use node to get a command line version
https://github.com/lelinhtinh/de4js
https://github.com/ben-sb/javascript-deobfuscator