I like that, except that templates are used on demand, so onload would be useless. A better way would be to put an id on them and defer their load for when really needed.
But still, we don't want to load 50 templates at the same time if the app is big then use one or two in that session, that's why loading them on demand with httprequest might be a better solution.
*Besides, being static in nature they would be cached on the server and client for instant access.