no longer using document.referrer