diff --git a/mud/static/main.js b/mud/static/main.js
index b118d1d..e14ab00 100644
--- a/mud/static/main.js
+++ b/mud/static/main.js
@@ -21,7 +21,7 @@ $(function () {
$(function () {
var opts = {debug: true};
- var conn = new SockJS(sockjs_url, undefined, opts);
+ var conn = new SockJS(sockjs_url, sockjs_protocols, opts);
var to = null;
var ping = function() {