Adding online/offline class to body, disabling map when offline