browser and node client