Finished Chapter 8

Finished the remainder of Chapter 8 and added ch9.js for later
additions.