conversion of js-hypercube to node-hyper