Ported statistics templates to jade