Javascript implementation of the well known PHP template engine Smarty