Upgrade jQuery from 1.11.0 to 1.11.1 is not showing any errors

I have an issue trying to upgrade my script to a newer jQuery version.

What I try to do

I am trying to update a script that works with the latest jQuery version. But for now i upgrade to jQuery 1.11.1 until this error is resolved.

What is the issue?

After update jQuery from version 1.11.0 to 1.11.1 it will not launch the code anymore. Even when I using jQuery Migrate there are no errors displayed which can show me where the faulty code is.

So after updating the Ajax calls get trough correctly but populating the screen with the results is not working anymore. Guessing something in function render(data) is broken.

What do I need

I don't need a quick fix. I just want to understand why there is no error is logged and how can I resolve it?

The jQuery script

$(document).ready(function() {

  var filemanager = $('.filemanager'),
    breadcrumbs = $('.breadcrumbs'),
    fileList = filemanager.find('.data');

  $.ajax({
    type: 'POST',
    dataType: 'json',
    url: 'https://crezzur.com/_test/scan.php',
    success: function(data) {
      setupFiles(data);
    }
  });

  function setupFiles(data) {
    var response = [data],
      currentPath = '',
      breadcrumbsUrls = [];
    var folders = [],
      files = [];

    $(window).on('hashchange', function() {
      goto(window.location.hash);
    }).trigger('hashchange');

    filemanager.find('.search').click(function() {
      var search = $(this);
      search.find('span').hide();
      search.find('input[type=search]').show().focus();
    });

    filemanager.find('input').on('input', function() {
      folders = [];
      files = [];
      var value = this.value.trim();
      if (value.length) {
        filemanager.addClass('searching');
        window.location.hash = 'search=' + value.trim();
      } else {
        filemanager.removeClass('searching');
        window.location.hash = encodeURIComponent(currentPath);
      }
    }).on('keyup', function(e) {
      var search = $(this);
      if (e.keyCode == 27) {
        search.trigger('focusout');
      }
    }).focusout(function() {
      var search = $(this);
      if (!search.val().trim().length) {
        window.location.hash = encodeURIComponent(currentPath);
        search.hide();
        search.parent().find('span').show();
      }
    });

    fileList.on('click', 'li.folders', function(e) {
      e.preventDefault();
      var nextDir = $(this).find('a.folders').attr('href');
      if (filemanager.hasClass('searching')) {
        breadcrumbsUrls = generateBreadcrumbs(nextDir);
        filemanager.removeClass('searching');
        filemanager.find('input[type=search]').val('').hide();
        filemanager.find('span').show();
      } else {
        breadcrumbsUrls.push(nextDir);
      }
      window.location.hash = encodeURIComponent(nextDir);
      currentPath = nextDir;
    });

    breadcrumbs.on('click', 'a', function(e) {
      e.preventDefault();
      var index = breadcrumbs.find('a').index($(this)),
        nextDir = breadcrumbsUrls[index];
      breadcrumbsUrls.length = Number(index);
      window.location.hash = encodeURIComponent(nextDir);
    });

    function goto(hash) {
      hash = decodeURIComponent(hash).slice(1).split('=');
      if (hash.length) {
        var rendered = '';
        if (hash[0] === 'search') {
          filemanager.addClass('searching');
          rendered = searchData(response, hash[1].toLowerCase());
          if (rendered.length) {
            currentPath = hash[0];
            render(rendered);
          } else {
            render(rendered);
          }
        } else if (hash[0].trim().length) {
          rendered = searchByPath(hash[0]);
          if (rendered.length) {
            currentPath = hash[0];
            breadcrumbsUrls = generateBreadcrumbs(hash[0]);
            render(rendered);
          } else {
            currentPath = hash[0];
            breadcrumbsUrls = generateBreadcrumbs(hash[0]);
            render(rendered);
          }
        } else {
          currentPath = data.path;
          breadcrumbsUrls.push(data.path);
          render(searchByPath(data.path));
        }
      }
    }

    function generateBreadcrumbs(nextDir) {
      var path = nextDir.split('/').slice(0);
      for (var i = 1; i < path.length; i++) {
        path[i] = path[i - 1] + '/' + path[i];
      }
      return path;
    }

    function searchByPath(dir) {
      var path = dir.split('/'),
        demo = response,
        flag = 0;
      for (var i = 0; i < path.length; i++) {
        for (var j = 0; j < demo.length; j++) {
          if (demo[j].name === path[i]) {
            flag = 1;
            demo = demo[j].items;
            break;
          }
        }
      }
      demo = flag ? demo : [];
      return demo;
    }

    function searchData(data, searchTerms) {
      data.forEach(function(d) {
        if (d.type === 'folder') {
          searchData(d.items, searchTerms);
          if (d.name.toLowerCase().match(searchTerms)) {
            folders.push(d);
          }
        } else if (d.type === 'file') {
          if (d.name.toLowerCase().match(searchTerms)) {
            files.push(d);
          }
        }
      });
      return {
        folders: folders,
        files: files
      };
    }

    function render(data) {
      var scannedFolders = [],
        scannedFiles = [];
      if (Array.isArray(data)) {
        data.forEach(function(d) {
          if (d.type === 'folder') {
            scannedFolders.push(d);
          } else if (d.type === 'file') {
            scannedFiles.push(d);
          }
        });
      } else if (typeof data === 'object') {
        scannedFolders = data.folders;
        scannedFiles = data.files;
      }

      fileList.empty().hide();
      if (!scannedFolders.length && !scannedFiles.length) {
        filemanager.find('.nothingfound').show();
      } else {
        filemanager.find('.nothingfound').hide();
      }

      if (scannedFolders.length) {
        scannedFolders.forEach(function(f) {
          var itemsLength = f.items.length,
            name = escapeHTML(f.name),
            icon = '<span class="icon folder"></span>';
          if (itemsLength) {
            icon = '<span class="icon folder full"></span>';
          }
          if (itemsLength == 1) {
            itemsLength += ' item';
          } else if (itemsLength > 1) {
            itemsLength += ' items';
          } else {
            itemsLength = 'Empty';
          }
          var folder = $('<li class="folders"><a href="' + f.path + '" title="' + f.path + '" class="folders">' + icon + '<span class="name">' + name + '</span> <span class="details">' + itemsLength + '</span></a></li>');
          folder.appendTo(fileList);
        });
      }

      if (scannedFiles.length) {
        scannedFiles.forEach(function(f) {
          var fileSize = bytesToSize(f.size),
            name = escapeHTML(f.name),
            fileType = name.split('.'),
            icon = '<span class="icon file"></span>';
          fileType = fileType[fileType.length - 1];
          icon = '<span class="icon file f-' + fileType + '">.' + fileType + '</span>';
          var file = $('<li class="files"><a href="' + f.path + '" title="' + f.path + '" class="files">' + icon + '<span class="name">' + name + '</span> <span class="details">' + fileSize + '</span></a></li>');
          file.appendTo(fileList);
        });
      }
      var url = '';
      if (filemanager.hasClass('searching')) {
        url = '<span>Search results: </span>';
        fileList.removeClass('animated');

      } else {
        fileList.addClass('animated');
        breadcrumbsUrls.forEach(function(u, i) {
          var name = u.split('/');
          if (i !== breadcrumbsUrls.length - 1) {
            url += '<a href="' + u + '"><span class="folderName">' + name[name.length - 1] + '</span></a> <span class="arrow">→</span> ';
          } else {
            url += '<span class="folderName">' + name[name.length - 1] + '</span>';
          }
        });
      }
      breadcrumbs.text('').append(url);
      fileList.animate({
        'display': 'inline-block'
      }); // Show the generated elements
    }

    function escapeHTML(text) { // This function escapes special html characters in names
      return text.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;');
    }

    function bytesToSize(bytes) { // Convert file sizes from bytes to human readable units
      var sizes = ['Bytes', 'KB', 'MB', 'GB', 'TB'];
      if (bytes == 0) return '0 Bytes';
      var i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)));
      return Math.round(bytes / Math.pow(1024, i), 2) + ' ' + sizes[i];
    }
  }
});
@charset "utf-8";*{margin:0;padding:0}body{background-color:#23232e;font:14px normal Arial,Helvetica,sans-serif;z-index:-4}.filemanager{width:95%;max-width:1340px;position:relative;margin:100px auto 50px}@media all and (max-width:965px){.filemanager{margin:30px auto 0;padding:1px}}.filemanager .breadcrumbs{color:#fff;margin-left:20px;font-size:24px;font-weight:700;line-height:35px}.breadcrumbs a:visited,.filemanager .breadcrumbs a:link{color:#fff;text-decoration:none}.filemanager .breadcrumbs a:hover{text-decoration:underline}.filemanager .breadcrumbs .arrow{color:#6a6a72;font-size:24px;font-weight:700;line-height:20px}.filemanager .search{position:absolute;padding-right:30px;cursor:pointer;right:0;font-size:17px;color:#fff;display:block;width:40px;height:40px}.filemanager .search:before{content:"";position:absolute;margin-top:12px;width:10px;height:11px;border-radius:50%;border:2px solid #fff;right:8px}.filemanager .search:after{content:"";width:3px;height:10px;background-color:#fff;border-radius:2px;position:absolute;top:23px;right:6px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.filemanager .search input[type=search]{border-radius:2px;color:#4d535e;background-color:#fff;width:250px;height:44px;margin-left:-215px;padding-left:20px;text-decoration-color:#4d535e;font-size:16px;font-weight:400;line-height:20px;display:none;outline:0;border:none;padding-right:10px;-webkit-appearance:none}::-webkit-input-placeholder{color:#4d535e}:-moz-placeholder{color:#4d535e;opacity:1}::-moz-placeholder{color:#4d535e;opacity:1}:-ms-input-placeholder{color:#4d535e}.filemanager .data{margin-top:60px;z-index:-3}.filemanager .data.animated{-webkit-animation:showSlowlyElement .7s;animation:showSlowlyElement .7s}.filemanager .data li{border-radius:3px;background-color:#373743;width:307px;height:118px;list-style-type:none;margin:10px;display:inline-block;position:relative;overflow:hidden;padding:.3em;z-index:1;cursor:pointer;box-sizing:border-box;transition:.3s background-color}.filemanager .data li:hover{background-color:#42424e}.filemanager .data li a{position:absolute;top:0;left:0;width:100%;height:100%}.filemanager .data li .name{color:#fff;font-size:15px;font-weight:700;line-height:20px;width:150px;white-space:nowrap;display:inline-block;position:absolute;overflow:hidden;text-overflow:ellipsis;top:40px}.filemanager .data li .details{color:#b6c1c9;font-size:13px;font-weight:400;width:55px;height:10px;top:64px;white-space:nowrap;position:absolute;display:inline-block}.filemanager .nothingfound{background-color:#373743;width:23em;height:21em;margin:0 auto;display:none;font-family:Arial;-webkit-animation:showSlowlyElement .7s;animation:showSlowlyElement .7s}.filemanager .nothingfound .nofiles{margin:30px auto;top:3em;border-radius:50%;position:relative;background-color:#d72f6e;width:11em;height:11em;line-height:11.4em}.filemanager .nothingfound .nofiles:after{content:"×";position:absolute;color:#fff;font-size:14em;margin-right:.092em;right:0}.filemanager .nothingfound span{margin:0 auto auto 6.8em;color:#fff;font-size:16px;font-weight:700;line-height:20px;height:13px;position:relative;top:2em}@media all and (max-width:965px){.filemanager .data li{width:100%;margin:5px 0}}@-webkit-keyframes showSlowlyElement{100%{transform:scale(1);opacity:1}0%{transform:scale(1.2);opacity:0}}@keyframes showSlowlyElement{100%{transform:scale(1);opacity:1}0%{transform:scale(1.2);opacity:0}}.icon{font-size:23px}.icon.folder{display:inline-block;margin:1em;background-color:transparent;overflow:hidden}.icon.folder:before{content:"";float:left;background-color:#7ba1ad;width:1.5em;height:.45em;margin-left:.07em;margin-bottom:-.07em;border-top-left-radius:.1em;border-top-right-radius:.1em;box-shadow:1.25em .25em 0 0 #7ba1ad}.icon.folder:after{content:"";float:left;clear:left;background-color:#a0d4e4;width:3em;height:2.25em;border-radius:.1em}.icon.folder.full:before{height:.55em}.icon.folder.full:after{height:2.15em;box-shadow:0 -.12em 0 0 #fff}.icon.file{width:2.5em;height:3em;line-height:3em;text-align:center;border-radius:.25em;color:#fff;display:inline-block;margin:.9em 1.2em .8em 1.3em;position:relative;overflow:hidden;box-shadow:1.74em -2.1em 0 0 #a4a7ac inset}.icon.file:first-line{font-size:13px;font-weight:700}.icon.file:after{content:"";position:absolute;z-index:-1;border-width:0;border-bottom:2.6em solid #dadde1;border-right:2.22em solid transparent;top:-34.5px;right:-4px}.icon.file.f-avi,.icon.file.f-flv,.icon.file.f-m4v,.icon.file.f-mkv,.icon.file.f-mov,.icon.file.f-mp4,.icon.file.f-mpeg,.icon.file.f-mpg,.icon.file.f-wmv{box-shadow:1.74em -2.1em 0 0 #7e70ee inset}.icon.file.f-avi:after,.icon.file.f-flv:after,.icon.file.f-m4v:after,.icon.file.f-mkv:after,.icon.file.f-mov:after,.icon.file.f-mp4:after,.icon.file.f-mpeg:after,.icon.file.f-mpg:after,.icon.file.f-wmv:after{border-bottom-color:#5649c1}.icon.file.f-m3u,.icon.file.f-mp2,.icon.file.f-mp3,.icon.file.f-wma,.icon.file.f-xls,.icon.file.f-xlsx{box-shadow:1.74em -2.1em 0 0 #5bab6e inset}.icon.file.f-m3u:after,.icon.file.f-mp2:after,.icon.file.f-mp3:after,.icon.file.f-wma:after,.icon.file.f-xls:after,.icon.file.f-xlsx:after{border-bottom-color:#448353}.icon.file.f-doc,.icon.file.f-docx,.icon.file.f-psd{box-shadow:1.74em -2.1em 0 0 #03689b inset}.icon.file.f-doc:after,.icon.file.f-docx:after,.icon.file.f-psd:after{border-bottom-color:#2980b9}.icon.file.f-gif,.icon.file.f-jpeg,.icon.file.f-jpg,.icon.file.f-pdf,.icon.file.f-png{box-shadow:1.74em -2.1em 0 0 #e15955 inset}.icon.file.f-gif:after,.icon.file.f-jpeg:after,.icon.file.f-jpg:after,.icon.file.f-pdf:after,.icon.file.f-png:after{border-bottom-color:#c6393f}.icon.file.f-7z,.icon.file.f-deb,.icon.file.f-dmg,.icon.file.f-gz,.icon.file.f-rar,.icon.file.f-zip{box-shadow:1.74em -2.1em 0 0 #867c75 inset}.icon.file.f-7z:after,.icon.file.f-deb:after,.icon.file.f-dmg:after,.icon.file.f-gz:after,.icon.file.f-rar:after,.icon.file.f-zip:after{border-bottom-color:#685f58}.icon.file.f-html,.icon.file.f-rtf,.icon.file.f-xhtml,.icon.file.f-xml{box-shadow:1.74em -2.1em 0 0 #a94bb7 inset}.icon.file.f-html:after,.icon.file.f-rtf:after,.icon.file.f-xhtml:after,.icon.file.f-xml:after{border-bottom-color:#d65de8}.icon.file.f-js{box-shadow:1.74em -2.1em 0 0 #d0c54d inset}.icon.file.f-js:after{border-bottom-color:#a69f4e}.icon.file.f-css,.icon.file.f-saas,.icon.file.f-scss{box-shadow:1.74em -2.1em 0 0 #44afa6 inset}.icon.file.f-css:after,.icon.file.f-saas:after,.icon.file.f-scss:after{border-bottom-color:#30837c}footer{width:770px;font:normal 16px Arial,Helvetica,sans-serif;padding:15px 35px;position:fixed;bottom:0;left:50%;margin-left:-420px;background-color:#1f1f1f;background-image:linear-gradient(to bottom,#1f1f1f,#101010);border-radius:2px 2px 0 0;box-shadow:0 -1px 4px rgba(0,0,0,.4);z-index:1}footer a.tz{font-weight:400;font-size:16px!important;text-decoration:none!important;display:block;margin-right:300px;text-overflow:ellipsis;white-space:nowrap;color:#bfbfbf!important;z-index:1}footer a.tz:before{content:"";background:url(http://cdn.tutorialzine.com/misc/enhance/v2_footer_bg.png) no-repeat 0 -53px;width:138px;height:20px;display:inline-block;position:relative;bottom:-3px}footer .close{position:absolute;cursor:pointer;width:8px;height:8px;background:url(http://cdn.tutorialzine.com/misc/enhance/v2_footer_bg.png) no-repeat 0 0;top:10px;right:10px;z-index:3}footer #tzine-actions{position:absolute;top:8px;width:500px;right:50%;margin-right:-650px;text-align:right;z-index:2}footer #tzine-actions iframe{display:inline-block;height:21px;width:95px;position:relative;float:left;margin-top:11px}@media (max-width:1024px){#bsaHolder,footer{display:none}}
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<div class="filemanager">
  <div class="search">
    <input type="search" placeholder="Find a file.." />
  </div>

  <div class="breadcrumbs"></div>
  <ul class="data"></ul>
  <div class="nothingfound">
    <div class="nofiles"></div>
    <span>No files here.</span>
  </div>
</div>