For anyone interested, here is a sampling of available ML libs in JavaScript. The first two, including tensorflow.js, are sub-libraries of the major ML projects, and the others are custom JS libs:
[tensorflow.js](https://github.com/tensorflow/tfjs)
[mxnet.js](https://github.com/dmlc/mxnet.js/)
[propel.js](https://github.com/propelml/propel) - this uses tensorflow.js under the hood
[ml5](https://github.com/ml5js/ml5-library) - also uses tensorflow.js
[webdnn](https://github.com/mil-tokyo/webdnn)
[brain.js](https://github.com/BrainJS/brain.js)
[mljs](https://github.com/mljs/ml)
[synaptic](https://github.com/cazala/synaptic)
edit: added the ml5 lib mentioned in a subsequent comment.