Simple way to get the query params using the DOM/Window