adding referrals.js and CSS changes