This is a JavaScript Implementation of Genetic Algorithm