Adding location-based class to the body