Chapter 3 tutorial from JavaScript & jQuery the missing manual