Story: Javascript error on view referral page