peer js sample code