on js query, update page url with pushState()