The hinclude module is accessible via the webhelpers module.
http://www.mnot.net/javascript/hinclude.html
Do a client-side include of url, defaulting to default` >>> include("/foo","hello") '<hx:include src="/foo">hello</hx:include>'
See the source for more information.
Top