fixed browser http client to use emitter