Knuth and Plass line breaking algorithm in JavaScript | Hacker News Reader