Hacking around with a JavaScript letterpress solver