The simplest possible JavaScript templating engine that could work