Javascript templating made easy