Fixes and improvements in erizoJS management