Moved template rendering to client side #11