anchor.diff:              $(document).ready(function(){
                   for(var key in rolesList)
                   {
  -                    $('#menu').append('<li onclick = getUsersByRole('+rolesList[key].id+')><a>'+rolesList[key].name+'</a></li>');
  +                    $('#menu').append('<li onclick="getAllUsers('+rolesList[key].id+')"><a>'+rolesList[key].name+'</a></li>');
                   };
               });
               
  
positive.code: //---------
              function getAllFiles()
              {
  //                document.getElementById('properties').innerHTML='';
                  var response = $.ajax({url: "./fileProcess/getAllFiles", async:false}).responseText;
                  var filesList = JSON.parse(response);
                  var contentTable = document.getElementById("contentTable");
                  contentTable.getElementsByTagName("tbody")[0].innerHTML = "";
                  filesList.forEach(function (item, i, arr)
                  {
                      var d = document.createElement('tr');
                      d.innerHTML = '<td data-toggle="modal" data-target="#popup" onclick="showFileProperties(' + item.id + ')">' + item.name + '</td><td>' + item.ext + '</td>';
                      contentTable.getElementsByTagName("tbody")[0].appendChild(d);
                  });
              }
  //---------
              function showFileProperties(fileId)
  
negative.code:       <div class="modal-dialog">
          <div class="modal-content">
            <div class="modal-header">
              <h4 id="popupTitle" class="modal-title"></h4>
              <button type="button" class="close" data-dismiss="modal">&times;</button>
            </div>
            <div id="properties" class="modal-body">
  
            </div>
            <div class="modal-footer">
              <button type="button" class="btn btn-default" data-dismiss="modal">Закрыть</button>
  