$) {
          $.get('/Marti/api/security/isSecure', function(data) {
              var isSecCookie = getCookie("portsSecure");
              console.log("checking secure");
              console.log(isSecCookie);
              console.log(data.data);
              if (data.data != 'true' && !isSecCookie) {
                  $('#securityAlert').show();
                  $('#securityAlert span').html("<strong>ALERT!</strong> The following ports support unsecure connections: " + data.data +
                  