small javaascript templating engine