Implementation of genetic algorithms for nodejs