Instantiating SockJS correctly

Making sure SockJS is created using 'new'