Really really minimal javascript templeter.