Update solve.js