Finished equation_check.js, to compare equation equivalence.