Made some style changes. Maybe test it with demo sockjs server?