Updating Page Query with Vanilla JavaScript