selectors in js and portal properties

includes selectors used in chat.js