urn '';
      }
    }

    function serializeParam(data) {
      return Object.keys(data).map(function(key) {
        return key + '=' + encodeURIComponent(data[key]);
      }).join('&');
    }

    function _logToServer(data) {
      var BASE_REPORT_ERROR_URL = '/_/_/report/';
      var LOG_TYPE = 'error';
      var url = BASE_REPORT_ERROR_URL + LOG_TYPE + '/';
      var HTTP_METHOD = 'post';

      var xhr = new XMLHttpRequest();
      var csrfToken = getCookie('csrftoken');

      xhr.open(HTTP_METHOD, u