Add p2p chat, and cross browsing bugfix