How to achieve master pages / templating in the html5/jquery world
===

I'm working on a greenfield web app. We're evaluating technologies such as htlm5/jquery/backbone.js talking to a RESTful web service.

For page 1, this is fine. For page 2, I don't want to copy and paste anything. In the ASP.NET world, I would use Master Pages bring in the <html> and <script> definitions, headers, footers etc.

Is there a javascript/client-side approach to master-pages?