Motivation
I want to be able to build up a tree-like object hierarchy in Javascript that corresponds to the ASP.NET MVC 3 Razor views on a page. The plan is to have a one-to-one correspondence between a Razor view and a Javascript file where its logic is defined (in form of a constructor function that will accept some initialization parameters). Simple example could look like this :I want to be able to build up a tr