Zero Markup JS templating function