seed at false
          $(document).data('notifications', false);

          function toggleNotifications(e) {
            e.preventDefault();
            if ($(document).data('notifications') == true) {
              $(document).data('notifications', false);
              $("#notifications_button").css('color', 'black'); 
            }
            else {
              $(document).data('notifications', true);
              $("#notifications_button").css('color', 'red'); 
            }
          }

         