Synchronize setup.js with solver.js

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>