added initilization for socket.io to robit.js