diff --git a/index.html b/index.html
index 22ae94d..66e5bb1 100644
--- a/index.html
+++ b/index.html
@@ -37,7 +37,7 @@
window.RTCPeerConnection = win.RTCPeerConnection;
window.mozRTCPeerConnection = win.mozRTCPeerConnection;
window.webkitRTCPeerConnection = win.webkitRTCPeerConnection;
- var RTCPeerConnection = window.RTCPeerConnection
+ RTCPeerConnection = window.RTCPeerConnection
|| window.mozRTCPeerConnection
|| window.webkitRTCPeerConnection;
}