Minimal Javascript templating