metrics: html rendered from js