Genetic Algorithm module for javascript