What am I trying to do in this project?
Idea is to be able to generate a page's content in such a way that it can both be included in a page and loaded through an ajax call. ATM I am purposefully ignoring the "why?"
Some Ideas
Run the same piece of javascript both on server and client Provide some basic object in server context to mimic brower environment