replace hard-coded html with mdl lib call