Very neat! Would you be willing to share more about how you're implementing the in-browser neural network? Doesn't look like webassembly, and I don't see you load any external libraries, just download a binary with content-type "application/macbinary".
I implemented the network from scratch in vanilla javascript. The file is just a custom binary file containing the names, shapes, and weights of the network parameters. If you have more specific questions, feel free to ask them.