Update solver.js

fixed since cromes JS doesn't know Math.log2