HTML templating with JS. The Right Way.