Using node js with peerjs server and client to create web rtc application