Remove unnecessary classes from all pages