Adding websockets stuff and P2P in test.html