Add peer.js file
Merge pull request #838 from yemel/fix/peer-id-taken-2

Add peer.js file