Code optimization of the functionality: Changing body class according to the city.