Complete SockJS refactor with updated resolve app