js micro template