Genetic Algorithm API for JavaScript