A JavaScript library to manage templates