templates for all javascript environments!