Updating connection map via socket
jscs and jshint validated