All done. Finalized comments, reflowed methods to util and renamed script.js to findEfficientSpell.js