Javascript microtemplates