A JavaScript library for training and deploying ML models in the browser and on Node.js