mat32 for the browser and node.js