I'm setting up a library of html content to be included across various pages, and I'd like to use JavaScript to do it. I know I can do a standard src() call in the HTML page and then have the include written out as JavaScript with a bunch of write() calls. What I'm looking for is something akin to Perl's "here document", where I can just place on write() call at the top of each of my JavaScript includes and then have it pull in whatever html I write within that until it's closed. Is there a way to do this?