Nice job for converting the JS to C#.
In genral this works well but i had a problem with using your lib when a JS has "<script>" string inside is.
See an example:
Id #10272 | Release:
| Updated: Feb 13, 2013 at 12:07 AM by arieldeil | Created: Jun 28, 2012 at 9:01 AM by arieldeil