t result = JSON.parse(data);
            updateFilters('filters', result.filters, initialFilters);
            showResults('results', result.results);
            hideLoader('contentLoader');
        });
    }

    function loadFilters() {
        showLoader('contentLoader');
        ajax.post('./query.php?cat=mobile', {'filters': []}, function (data) {
            let result = JSON.parse(data);
            initialFilters = result.filters.data;
            showFilters('filters', result.filters, result.title