JavaScript lite templater