Latte is lazy, which means, it will only load a template only one time from an ajax request and it will keep it in memory if you want to use it again and again. This way, you can gain overall performance on your application.
All of this in 886 bytes of minified code.
Get it here https://github.com/hbarroso/Jquery-Latte