Update the query string without reloading the page

var query = $.param({ brand: 17, sort: 'price', page: 2 });

if (window.history && window.history.replaceState) {
    // replaceState adds no history entry, so Back still leaves the page
    window.history.replaceState(null, document.title, location.pathname + '?' + query);
}