nodejs's net lib for browser