very tiny templating engine in JS