js naming refactoring
puszek chat base factory - in progress