       name: 'departments',
        weight: 2
      }, {
        name: 'skills',
        weight: 3
      }, {
        name: 'location',
        weight: 3
      }]
    }
    const vacancies = {{ vacancies | tojson }};
    const fuse = new Fuse(vacancies, options);
    const querySearchText = urlParams.get("search");
    const containerDiv = document.querySelector(".js-job-list");

    searchInput.addEventListener('input', e => {
      searchTerm = e.target.value;
      showAutoComplete(searchTerm, vacancies)