I need to write standalone application which will \"browse\" external resource. Is there lib in C# which automatically handles cookies and supports JavaScript (through JS is
The HtmlAgilityPack is specifically for parsing HTML. You can use the WebRequest class in the .NET Framework to handle communication and cookies.
See my blog entry on Web scraping in .NET. This won't answer all your questions, but will get you part of the way there.