adding referrals.js
adding referrals.js and CSS changes