MDS: improve: Optimizing html code