 
                                 do (connection) =>
 
-                                    connection.on "error", (error) =>
+                                    connection.on "error", (error) ->
                                         alert error.type
 
                                     connection.on "open", =>


        @connections = []

        peer.on "error", (error) =>
            alert error.type

        peer.on "open", (peerId) =>


                connection = peer.connect "x"

                connection.on "error", (error) ->
                    alert error

                connection.on "open", =>
