   dispatch: (response) ->
     if response.id
       request = @requests[response.id]
-
-      if !request.connected
-        request.connected = true
-        return
 
       try
         request.callback?.call(response, response.data)

#
class wesabe.dom.Bridge
  constructor: (document, callback) ->
  @forDocument: (doc) ->
    for {bridge, document} in bridges
      return bridge if doc is document

    bridges.push {bridge, document}
    return bridge


  connect: (fn) ->
    wesabe.dom.page.inject(@document, "(#{wesabe.dom.Bridge.bootstrap.toSource()})()")
