node.js build for three.js math