changed welcoming parameter to count messages in js room