My question is similar to the wormhole one.
Does it really need to be 168 files of code to do this? I don't know WebRTC, but wouldn't a single PHP file be enough to create the connection between the two devices?
I mean, they could concatenate all 168 files and stuff them into a single <script> tag in the PHP if that would make you happier…