refactoring and code clean up
refactoring and code clean up

smelukov/basisjs,tyanas/basisjs,istrel/basisjs,smelukov/basisjs,basisjs/basisjs,fateevv/basisjs,tyanas/basisjs,smelukov/basisjs,basisjs/basisjs,basisjs/basisjs,istrel/basisjs,istrel/basisjs,tyanas/basisjs,fateevv/basisjs,fateevv/basisjs