I have the following JavaScript code as a string literal:
var $Page = new function() { var _url= \'http://www.some.url.com\'; this.Download = functi
There is an open-source JavaScript interpreter in C# at http://jint.codeplex.com, if you need more than just getting the value.
This is now moved to GITHUB