First proposed method for templating.

This is a proposition to do client side templating. If this doesn't work, I can do it on the server side.