Very basic JS Templating engine