Pure Javascript Template Engine