Object Oriented JavaScript Class Library in C#/.NET Style