Ensures the inline JavaScript for 404 bot detection executes correctly when Content Security Policy (CSP) is enforced with nonces. This prevents the script from being blocked by policies that disallow `'unsafe-inline'`, which would otherwise cause 404 reporting to fail silently.