tiny fixes while porting to JS
Merge branch 'master' of github.com:shiffman/The-Nature-of-Code-Examples