On the client side, you wind up taking that generated thing, because it's pretty fast, and you wind up trying to attach some out of band model or view to it so when something changes through JavaScript events, you can go be informed of it and tell the server and reserialize the changes that you'd like to notify the server of. 