Decrease number of HTML elements