Fixed the reconnect logic in the client javascript so that the client reconnects to the eventbus even if the server is unavailable for an extended period of time.