A Genetic Algorithm framework in JS