minor optimization - maybe save the "document.body.classList" as a variable to not parse it two times.
also, maybe instead of the ELSE of this condition, use the original MAX_ICONS_PER_PAGE var.