Various small fixes on the JavaScript 101 Loops page.

See individual commits for details, and feel free to squash on merge.