Exercise from Javascript & jQuery: the missing manual