Should you assign page.url.searchParams inside onMount or directly inside script?