Update the referer ID of links loaded via Ajax