Simulated Annealing post js