Explicitly set page title when updating contact with js
Fix importing of referrals from tnt