fixes get host profile counter conditional, removes unused publisher in guest.js