Revert "Make the html template cleaner"

This reverts commit 101a2ebf50d3d40bb0c7cb88ea615008216fcb09.