title: There is a jquery or javascript plugin for templating pages like facelets or tiles?
body: <p>There is a jquery or javascript plugin for templating pages like facelets or tiles, for example:</p>
  
  <p>template.html</p>
  
  <pre><code>&lt;html&gt;
      &lt;body&gt;
          &lt;insert id="content" /&gt;
     &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>content1.html</p>
  
  <pre><code>&lt;html&gt;
      &lt;composition src="template.html"&gt;
          &lt;define&gt;
              My frist content
          &lt;/define&gt;
      &lt;/composition&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>content2.html</p>
  
  <pre><code>&lt;html&gt;
      &lt;composition src="template.html"&gt;
          &lt;define&gt;
              My second content
          &lt;/define&gt;
      &lt;/composition&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>any idea?</p>
  
  <p>I need make this only with javascript or jquery!</p>
  
  <p>My app is only html and jquery, nothing jsf. So, I need a jquery plugin for make this. This html is only an example.</p>